package Entity;

/**
 * @author chenjian
 * @version 1.0
 * @date 2025/3/20 15:55
 * @description
 */
public class Teacher extends Stu {
    public Teacher() {
    }

    public Teacher(String name, int age) {
        super(name, age);
    }
    public void  teach(){
        System.out.println("姓名"+name+"\t年龄"+age+"\t讲课");
    }
}
